package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退货单对象 refund_list
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public class RefundList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 采购单ID */
    private Long listid;

    /** 采购单单号 */
    @Excel(name = "采购单单号")
    private String listno;

    /** 发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    /** 公司ID */
    private Long companyId;

    /** 门店ID */
    private Long shopId;

    /** 供货商ID */
    private Long supplyId;

    /** 供货商 */
    @Excel(name = "供货商")
    private String supplyName;

    /** 退货金额 */
    @Excel(name = "退货金额")
    private Double refundPrice;

    /** 退货日期 */
    private String day;

    /** 状态 */
    private String status;

    /** 发起人ID */
    private Long userid;

    /** 发起人姓名 */
    @Excel(name = "发起人姓名")
    private String user;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setListid(Long listid) 
    {
        this.listid = listid;
    }

    public Long getListid() 
    {
        return listid;
    }

    public void setListno(String listno) 
    {
        this.listno = listno;
    }

    public String getListno() 
    {
        return listno;
    }

    public void setCtime(Date ctime) 
    {
        this.ctime = ctime;
    }

    public Date getCtime() 
    {
        return ctime;
    }

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }

    public void setSupplyId(Long supplyId) 
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId() 
    {
        return supplyId;
    }

    public void setSupplyName(String supplyName) 
    {
        this.supplyName = supplyName;
    }

    public String getSupplyName() 
    {
        return supplyName;
    }

    public void setRefundPrice(Double refundPrice) 
    {
        this.refundPrice = refundPrice;
    }

    public Double getRefundPrice() 
    {
        return refundPrice;
    }

    public void setDay(String day) 
    {
        this.day = day;
    }

    public String getDay() 
    {
        return day;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }

    public void setUser(String user) 
    {
        this.user = user;
    }

    public String getUser() 
    {
        return user;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("listid", getListid())
            .append("listno", getListno())
            .append("ctime", getCtime())
            .append("companyId", getCompanyId())
            .append("shopId", getShopId())
            .append("supplyId", getSupplyId())
            .append("supplyName", getSupplyName())
            .append("refundPrice", getRefundPrice())
            .append("day", getDay())
            .append("status", getStatus())
            .append("userid", getUserid())
            .append("user", getUser())
            .toString();
    }
}
